Move documentation to inline comments: GtkFontSelection
authorJavier Jardón <jjardon@gnome.org>
Wed, 13 Apr 2011 21:23:44 +0000 (22:23 +0100)
committerJavier Jardón <jjardon@gnome.org>
Wed, 13 Apr 2011 23:07:42 +0000 (00:07 +0100)
docs/reference/gtk/tmpl/.gitignore
docs/reference/gtk/tmpl/gtkfontsel.sgml [deleted file]
gtk/gtkfontsel.c

index 9e0934f7b9ec7bc812ec357550aa5eff7457a1c7..a050d5f9ae952a00cdd09d274ebe86444c469c18 100644 (file)
@@ -43,6 +43,7 @@ gtkfilechooserdialog.sgml
 gtkfilechooserwidget.sgml
 gtkfilefilter.sgml
 gtkfontbutton.sgml
+gtkfontsel.sgml
 gtkframe.sgml
 gtkhbbox.sgml
 gtkhbox.sgml
diff --git a/docs/reference/gtk/tmpl/gtkfontsel.sgml b/docs/reference/gtk/tmpl/gtkfontsel.sgml
deleted file mode 100644 (file)
index f97de24..0000000
+++ /dev/null
@@ -1,176 +0,0 @@
-<!-- ##### SECTION Title ##### -->
-GtkFontSelection
-
-<!-- ##### SECTION Short_Description ##### -->
-A widget for selecting fonts
-
-<!-- ##### SECTION Long_Description ##### -->
-<para>
-The #GtkFontSelection widget lists the available fonts, styles and sizes,
-allowing the user to select a font.
-It is used in the #GtkFontSelectionDialog widget to provide a dialog box for
-selecting fonts.
-</para>
-<para>
-To set the font which is initially selected, use
-gtk_font_selection_set_font_name().
-</para>
-<para>
-To get the selected font use gtk_font_selection_get_font_name().
-</para>
-<para>
-To change the text which is shown in the preview area, use
-gtk_font_selection_set_preview_text().
-</para>
-
-<!-- ##### SECTION See_Also ##### -->
-<para>
-<variablelist>
-
-<varlistentry>
-<term>#GtkFontSelectionDialog</term>
-<listitem><para>a dialog box which uses #GtkFontSelection.</para></listitem>
-</varlistentry>
-
-</variablelist>
-</para>
-
-<!-- ##### SECTION Stability_Level ##### -->
-
-
-<!-- ##### SECTION Image ##### -->
-
-
-<!-- ##### STRUCT GtkFontSelection ##### -->
-<para>
-The #GtkFontSelection struct contains private data only, and should
-only be accessed using the functions below.
-</para>
-
-
-<!-- ##### ARG GtkFontSelection:font-name ##### -->
-<para>
-
-</para>
-
-<!-- ##### ARG GtkFontSelection:preview-text ##### -->
-<para>
-
-</para>
-
-<!-- ##### FUNCTION gtk_font_selection_new ##### -->
-<para>
-
-</para>
-
-@void: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_font_name ##### -->
-<para>
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_set_font_name ##### -->
-<para>
-</para>
-
-@fontsel: 
-@fontname: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_preview_text ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_set_preview_text ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@text: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_face ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_face_list ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_family ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_size ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_family_list ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_preview_entry ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_size_entry ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
-<!-- ##### FUNCTION gtk_font_selection_get_size_list ##### -->
-<para>
-
-</para>
-
-@fontsel: 
-@Returns: 
-
-
index a88fbbea0f3ba763b6cd9a1dc89b893d6feafe41..babe7b236b1ee84a94ce89b861a08d473c3672e3 100644 (file)
 #include "gtkbuildable.h"
 #include "gtkprivate.h"
 
+
+/**
+ * SECTION:gtkfontsel
+ * @Short_description: A widget for selecting fonts
+ * @Title: GtkFontSelection
+ * @See_also: #GtkFontSelectionDialog
+ *
+ * The #GtkFontSelection widget lists the available fonts, styles and sizes,
+ * allowing the user to select a font.
+ * It is used in the #GtkFontSelectionDialog widget to provide a dialog box for
+ * selecting fonts.
+ *
+ * To set the font which is initially selected, use
+ * gtk_font_selection_set_font_name().
+ *
+ * To get the selected font use gtk_font_selection_get_font_name().
+ *
+ * To change the text which is shown in the preview area, use
+ * gtk_font_selection_set_preview_text().
+ */
+
+
 struct _GtkFontSelectionPrivate
 {
   GtkWidget *font_entry;        /* Used _get_family_entry() for consistency, -mr */